home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
kcl
/
kcl.lha
/
lsp
/
defstruct.data
< prev
next >
Wrap
Text File
|
1986-07-03
|
3KB
|
154 lines
#(
#!
(lisp::in-package 'user::lisp)
#!
(lisp::export 'lisp::defstruct)
#!
(lisp::in-package 'lisp::system)
(lisp::optimize (lisp::safety 2) (lisp::space 3))
lisp::defun
(system::x)
system::structure-ref
system::x
lisp::quote
system::putprop
'system::structure-access
lisp::defsetf
(system::x)
(system::v)
lisp::list
'system::structure-set
system::v
lisp::remprop
'system::setf-update-fn
'system::setf-lambda
'system::setf-documentation
lisp::vector
(system::x)
lisp::elt
'system::structure-access
(system::x)
(system::v)
'system::elt-set
'system::setf-update-fn
'system::setf-lambda
'system::setf-documentation
(system::x)
system::list-nth
'system::structure-access
(system::x)
(system::v)
'system::rplaca-nthcdr
'system::setf-update-fn
'system::setf-lambda
'system::setf-documentation
"~S is an illegal structure type."
lisp::&aux
lisp::&optional
"#.lambda-list-keywords"
lisp::&rest
:key
lisp::&key
system::make-structure
"~S is an illegal structure type"
"An illegal BOA constructor."
(system::x)
system::copy-structure
((system::x) (lisp::copy-seq system::x))
((system::x) (lisp::copy-list system::x))
"~S is an illegal structure type."
(system::x)
lisp::and
(system::structurep system::x)
lisp::do
((system::n (system::structure-name system::x)))
((lisp::null system::n) lisp::nil)
lisp::when
lisp::eq
system::n
(lisp::return lisp::t)
(lisp::setq system::n (lisp::get system::n 'system::structure-include))
"The structure should be named."
(system::x)
(lisp::vectorp system::x)
lisp::>
(lisp::length system::x)
"The structure should be named."
0
(system::x)
(lisp::consp system::x)
(lisp::car system::x)
(system::x)
system::i
(lisp::1- system::i)
(system::y system::x (lisp::cdr system::y))
(lisp::= system::i 0)
(lisp::consp system::y)
(lisp::car system::y)
(lisp::unless (lisp::consp system::y) (lisp::return lisp::nil))
"~S is an illegal structure type."
"~S is an illegal structure slot option."
"~S is an illegal structure slot option."
"~S is an illegal include slot-description."
"-"
"MAKE-"
"COPY-"
"-P"
""
system::is-a-structure
"~S is an illegal included structure."
"~S is an illegal defstruct option."
"~S is an illegal defstruct option."
system::structure-type
"~S is an illegal structure include."
system::structure-offset
system::structure-slot-descriptions
"Contradictory constructor options."
"~S is an illegal structure predicate."
"An print function is supplied to a typed structure."
lisp::progn
lisp::defstruct
'system::defstruct-form
(lisp::t 'system::is-a-structure)
'system::structure-slot-descriptions
'system::structure-include
'system::structure-print-function
'system::structure-type
'system::structure-named
'system::structure-offset
'system::structure-constructors
'system::structure-documentation
lisp::*read-suppress*
"An extra argument was supplied for the #S readmacro."
"~S is not a structure."
system::structure-constructors
"The structure ~S has no structure constructor."
lisp::keyword
#\#
#\s
system::sharp-s-reader
#\S
lisp::proclaim
system::make-access-function
system::make-constructor
system::illegal-boa
system::make-copier
system::make-predicate
system::parse-slot-description
system::overwrite-slot-descriptions
lisp::set-dispatch-macro-character
system::string-concatenate
:type
:read-only
lisp::car
:conc-name
:constructor
:copier
:predicate
:include
:print-function
:initial-offset
:named
)